import request from '@/utils/request'

// 查询店铺竞标列表
export function listT_shop_bidding(query) {
  return request({
    url: '/backend/t_shop_bidding/list',
    method: 'get',
    params: query
  })
}

// 查询店铺竞标详细
export function getT_shop_bidding(id) {
  return request({
    url: '/backend/t_shop_bidding/' + id,
    method: 'get'
  })
}

// 新增店铺竞标
export function addT_shop_bidding(data) {
  return request({
    url: '/backend/t_shop_bidding',
    method: 'post',
    data: data
  })
}

// 修改店铺竞标
export function updateT_shop_bidding(data) {
  return request({
    url: '/backend/t_shop_bidding',
    method: 'put',
    data: data
  })
}

// 删除店铺竞标
export function delT_shop_bidding(id) {
  return request({
    url: '/backend/t_shop_bidding/' + id,
    method: 'delete'
  })
}
